package com.lb.activity.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WebArticle implements Serializable {
    /** id*/
    @Id
    private Long id;

    /** 标题*/
    private String artTitle;

    /** 标签*/
    private String artLabel;

    /** 标签内容*/
    private String artLabelText;

    /** 创建人*/
    private String artCreater;

    /** 创建人ID*/
    private Long artCreaterId;

    /** 阅读次数*/
    private Long artReadCount;

    /** 喜欢次数*/
    private Long artLike;

    /**
     * 评论数量
     */
    private Long artComment;

    /** 0有效 9删除*/
    private Long status;

    /** 创建时间*/
    private Date createTime;

    /** 更新时间*/
    private Date updateTime;

    /** 内容*/
    private byte[] artContent;

    /**
     * 描述
     */
    private String artDesc;

    /**
     * 是否热门
     */
    private Long isHot;

    /**
     * 是否置顶
     */
    private Long isTop;


    private static final long serialVersionUID = 1L;
}